package cn.edu.ctbu.datajpa.service;

import cn.edu.ctbu.datajpa.domain.Admin;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AdminService {

    List<Admin> findAll();
    public List<Admin> findByNoAndPassword(String no, String password);

}
